home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Tools / Win95 Secrets / SETUP.Z / HWND32.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-19  |  1.9 KB  |  46 lines

  1. //==================================
  2. // SHOWWND - Matt Pietrek 1995
  3. // FILE: HWND32.H
  4. //==================================
  5. #pragma pack (1)
  6. typedef struct _RECTS
  7. {
  8.     WORD    left;
  9.     WORD    top;
  10.     WORD    right;
  11.     WORD    bottom;
  12. } RECTS, *PRECTS, *LPRECTS;
  13.  
  14. typedef struct _WND32
  15. {
  16. struct _WND32 *hWndNext;    // 00h (GW_HWNDNEXT) HWND of next sibling window
  17. struct _WND32 *hWndChild;   // 04h (GW_CHILD) First child window
  18. struct _WND32 *hWndParent;  // 08h Parent window handle
  19. struct _WND32 *hWndOwner;   // 0Ch Owning window handle
  20. RECTS   rectWindow;         // 10h Rectangle describing entire window
  21. RECTS   rectClient;         // 18h Rectangle for client area of window
  22. WORD    hQueue;             // 20h Application message queue handle
  23. WORD    hrgnUpdate;         // 22h window region needing an update
  24. WORD    wndClass;           // 24h handle to an INTWNDCLASS
  25. WORD    hInstance;          // 26h hInstance of creating application
  26. WNDPROC lpfnWndProc;        // 28h Window procedure address
  27. DWORD   dwFlags;            // 2Ch internal state flags
  28. DWORD   dwStyleFlags;       // 30h WS_XXX style flags
  29. DWORD   dwExStyleFlags;     // 34h WS_EX_XXX extended style flags
  30. DWORD   moreFlags;          // 38h flags
  31. HANDLE  ctrlID;             // 3Ch GetDlgCtrlId or hMenu
  32. WORD    windowTextOffset;   // 40h Offset of the window's text in atom heap
  33. WORD    scrollBar;          // 42h DWORD associated with the scroll bars
  34. WORD    properties;         // 44h Handle for first window property
  35. WORD    hWnd16;             // 46h Actual HWND value for this window
  36. struct _WND32 *lastActive;  // 48h Last active owned popup window
  37. HANDLE  hMenuSystem;        // 4Ch handle to the system menu
  38. DWORD   un1;                // 50h
  39. WORD    un2;                // 54h
  40. WORD    classAtom;          // 56h See also offs. 2 in the field 24 struct ptr
  41. DWORD   alternatePID;       // 58h
  42. DWORD   alternateTID;       // 5Ch
  43. } WND32, *PWND32;
  44.  
  45. #pragma pack()
  46.